<?php if (!defined('THINK_PATH')) exit();?><!-- 头部 -->
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" />
<meta http-equiv="keywords" content="云衣定制、服装定制、定制平台、定制企业合作。" />

<!--[if lt IE 9]>
<script>(function(tags){for(var i=0; i<tags.length; i++)document.createElement(tags[i]);})(["article","aside","details","figcaption","figure","footer","header","hgroup","nav","section","video"]);</script>
<![endif]-->
<link href="/smfs/Public/home/css/global.css?v=1.0" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/common.css?v=1.0" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/popupdiv.css?v=1.0" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/brands.css" rel="stylesheet" type="text/css"/>
<link  href="/smfs/Public/home/css/idangerous.swiper.css" rel="stylesheet" type="text/css">
<link href="/smfs/Public/home/css/indexConsumer.css" rel="stylesheet" type="text/css">
<!--放在文件所有样式文件最末尾，保证规则的优先级-->
<title>xx定制</title>
<!-- <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script> -->

<script type="text/javascript" src="/smfs/Public/home/js/jquery.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/global.js"></script>
<!-- <script type="text/javascript" src="/smfs/Public/home/js/ueditor.config.js"></script>  --> 
<script type="text/javascript" src="/smfs/Public/home/js/ueditor.all.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.jqote2.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/popupdiv.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/formValidated.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.serializejson.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.easing.min.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/jquery.msgbox.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/firstPinYin.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/indexConsumer.js"></script>

</head>
<body class="index page_index newPage_index" style="background:#fcfcfc;width:100%;">
        <div style="width:100%;background:#333333;">
            <div id="naviBackWhite" class="naviBackWhite naviConsumer" style="width:1280px;margin:0 auto;">
            	<div class="container">
            		<div class="floatLeft colorCcc" >
            			欢迎来到xx定制网！
                        <!-- <a href="<?php echo U('home/login/index');?>" title="登录" class=" underLineHover colorYellow ">[登录]</a>
                        <a href="<?php echo U('home/login/reg');?>" title="注册" class="underLineHover colorYellow ">注册</a> -->
            		    <!-- <a href="javascript:;" class="servicePhone colorCcc">服务电话：020-399-36776</a> -->
            		</div>
            		<div class="floatRight">
            			<ul class="menu moveOn menuConsumer">
            				<li><a href="javascript:;" class="servicePhone colorCcc">预定电话：020-399-36776</a>
            					<!-- <ul class="subs borderBottomGray"
            						onMouseMove="changeClass('person','personon')"
            						onMouseOut="changeClass('person','')">
            						<li><a href="../../html/user/myOrderIthzs.html?0" title="我的订单"
            							class="menutext">我的订单</a></li>
            						<li><a href="../../html/user/checkBody.html" title="量体信息"
            							class="menutext">量体信息</a></li>
            						<li><a href="../../html/user/safetyIndex.html" title="安全设置"
            							class="menutext">安全设置</a></li>
            					</ul>--></li> 
            			</ul>
            			<!-- <div style="clear: both"></div> -->
            		</div>
            	</div>
            </div>
        </div>

<link rel="stylesheet" href="/smfs/Public/home/css/consumerOrder.css">
<script type="text/javascript" src="/smfs/Public/home/js/idangerous.swiper.min.js"></script>
<script type="text/javascript" src="/smfs/Public/home/js/indexManSpecial.js"></script>
<!-- 前端框架 -->
<link href="/smfs/Public/css/layui.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="/smfs/Public/layui.js"></script>
        <!-- 头部 -->
        <div class="consumerTop">
            <div class="container">
                <div class="index_consumerTopNav clearfix">
                    <div class="consumerLogo fl paddingTop10"><a href="<?php echo U('home/index/index');?>"><img src="/smfs/Public/home/images/logo3.png" alt="" /></a></div>
                    <div class="consumerBoxUl fr js_consumerUl">
                        <ul class="clearfix consumerUl consumerUlList">
                            <li id="index_consumerTop"><a href="<?php echo U('home/index/index');?>">首页</a></li>
                            <li id="yunyi_consumerTop"><a href="<?php echo U('home/Dingzhi/index',array('fz'=>1));?>">所有成品</a></li>
                            <li id="consult_consumerTop"><a href="<?php echo U('home/news/index');?>">时尚资讯</a></li>
                            <li id="demand_consumerTop"><a href="<?php echo U('home/xuqiu/index');?>">预约定制</a></li>
                        </ul> 
                    </div>
                </div>
            </div>
        </div>
        <!-- banner专区 -->
        <div style="width:100%;background:#f2f2f2;">
            <div class="mainbanner  js_mainbanner" style="width:1280px;margin:0 auto;">
                <div class="banner_ul js_banner_ul">
                    <ul class="clearfix">
                        <li style="display:block">
                            <a href="<?php echo U('home/Dingzhi/index',array('fz'=>1));?>" target="_blank" style="background:url(/smfs/Public/home/images/newbanner011.jpg) no-repeat center;"></a>
                        </li>
                        <li style="display:none">
                            <a href="<?php echo U('home/Dingzhi/index',array('fz'=>1));?>" target="_blank" style="background:url(/smfs/Public/home/images/newbanner022.jpg) no-repeat center;"></a>
                        </li>
                        <li style="display:none">
                            <a href="<?php echo U('home/Dingzhi/index',array('fz'=>1));?>" target="_blank" style="background:url(/smfs/Public/home/images/newbanner033.jpg) no-repeat center;"></a>
                        </li>
                        <li style="display:none">
                            <a href="<?php echo U('home/Dingzhi/index',array('fz'=>1));?>" target="_blank" style="background:url(/smfs/Public/home/images/newbanner05.jpg) no-repeat center;"></a>
                        </li>
                    </ul>
                </div>
                <div  class="banner_ol js_banner_ol">
                    <ol class="clearfix">
                        <li class="on"></li>
                        <li></li>
                        <li></li>
                        <li></li>
                    </ol>
                </div>
            </div>
        </div>
    <div class="container consumerContainer" >
        <div class="mainbannerBig container1200">
            <!-- 热销 -->
            <div class="consumerSeriesTil">
                <h2><a href="#" class="font24">热销</a></h2>
                <div class="clearfix featuredPrefecture" style="width: 1230px;">
                    <div class="fl featuredPrefecture_L marginRight20">
                        <div class="featuredLBg">
                            <a href="<?php echo U('home/dingzhi/index',array('fz'=>1));?>" class="featuredLBgBtn marginTop240">去定制</a>
                        </div>
                        <div><img src="/smfs/Public/home/images/featuredPic1.jpg"  alt="" height="470" width="370"/></div>
                    </div>
                    <div class="fl featuredPrefecture_R">
                        <ul>
                            <li style="margin-right: 30px;">
                                <div class="featuredRText marginBottom20">
                                    <div class="paddingTop30 paddingBottom5"><span class="featuredTilBtn">干净利落 活力爆棚</span></div>
                                </div>
                                <div class="featuredRImg">
                                    <div class="featuredRImgBg">
                                        <a href="<?php echo U('home/dingzhi/index',array('fz'=>1));?>" class="featuredLBgBtn marginTop240">去定制</a>
                                    </div>
                                    <div class="featuredPicBox">
                                        <img src="/smfs/Public/home/images/featuredPic2.jpg" alt="" height="350" width="250" />
                                    </div>
                                </div>
                            </li>
                            <li style="margin-right: 30px;">
                                <div class="featuredRImg marginBottom20">
                                    <div class="featuredRImgBg">
                                        <a href="<?php echo U('home/dingzhi/index',array('fz'=>1));?>" class="featuredLBgBtn marginTop240">去定制</a>
                                    </div>
                                    <div>
                                        <img src="/smfs/Public/home/images/featuredPic3.jpg" alt="" height="350" width="250" />
                                    </div>
                                </div>
                                <div class="featuredRText">
                                    <div class="paddingTop30 paddingBottom5"><span class="featuredTilBtn">潮味倍增 休闲有度</span></div>
                                </div>
                            </li>
                            <li style="margin-right: 30px;">
                                <div class="featuredRText marginBottom20">
                                    <div class="paddingTop30 paddingBottom5"><span class="featuredTilBtn">百搭单西 随时有型</span></div>
                                </div>
                                <div class="featuredRImg">
                                    <div class="featuredRImgBg">
                                        <a href="<?php echo U('home/dingzhi/index',array('fz'=>1));?>" class="featuredLBgBtn marginTop240">去定制</a>
                                    </div>
                                    <div>
                                        <img src="/smfs/Public/home/images/featuredPic4.jpg" alt="" height="350" width="250" />
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>

            <!-- 新品推荐 -->
            <div class="js_specialContBox">
                <div class="clearfix consumerSeriesBox specialSeriesBox">
                    <div class="fl consumerSeriesTil">
                        <h2 style="border-color:#c22849;">新品推荐</h2>
                    </div>
                </div>
                <div class="device">
                    <a class="arrow-left" href="#"></a> 
                    <a class="arrow-right" href="#"></a>
                    <div class="swiper-container js_swiper-container">
                      <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <div class="seriesCont js_seriesCont">
                                    <ul class="clearfix">
                                    <?php foreach ($new_two as $n) { ?>
                                        <li> 
                                            <a href="<?php echo U('home/good/index',array('id'=>$n['goods_id']));?>" target="_blank">
                                                <div class="seriesPic">
                                                    <img src="/smfs<?php echo ($n["thumb_img"]); ?>" height="350" width="250" alt="" />
                                                    <div class="specialHoverBg">
                                                        <span class="diyLinkBtn" ><?php echo ($n["goods_name"]); ?><br>￥<?php echo ($n["shop_price"]); ?></span>
                                                    </div>
                                                </div>
                                            </a>  
                                        </li>
                                    <?php } ?>
                                    </ul>
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <div class="seriesCont js_seriesCont">
                                    <ul class="clearfix">
                                    <?php foreach ($new_one as $n) { ?>
                                        <li> 
                                            <a href="<?php echo U('home/good/index',array('id'=>$n['goods_id']));?>" target="_blank">
                                                <div class="seriesPic">
                                                    <img src="/smfs<?php echo ($n["thumb_img"]); ?>" height="350" width="250" alt="" />
                                                    <div class="specialHoverBg">
                                                        <span class="diyLinkBtn" ><?php echo ($n["goods_name"]); ?><br>￥<?php echo ($n["shop_price"]); ?></span>
                                                    </div>
                                                </div>
                                            </a>  
                                        </li>
                                    <?php } ?>
                                    </ul>
                            </div>
                        </div>
                    </div>
                    <!-- <div class="pagination"></div> -->
                </div>
                
                </div>
            </div>
            <!-- 男装专区 -->
            <div class="productDisplay js_specialContBox">
                <!-- // -->
                <div class="clearfix consumerSeriesBox specialSeriesBox marginBottom20">
                    <div class="fl consumerSeriesTil">
                        <h2 style="border-color:#c22849;">男装</h2>
                    </div>
                    <div class="fr consumerSeriesMore"><a href="<?php echo U('home/dingzhi/index',array('fz'=>1));?>">查看更多&gt;</a></div>
                </div>
                <div class="displayDownList">
                    <ul class="clearfix">
                    <?php foreach ($man as $n) { ?>
                    <li>
                        <a href="<?php echo U('home/good/index',array('id'=>$n['goods_id']));?>">    
                            <div><img src="/smfs<?php echo ($n["thumb_img"]); ?>" width="285" height="400" alt=""></div>    
                            <div class="downListBg">        
                            <div class="downListWhiteBg">            
                            <p class="paddingTop110"><?php echo ($n["goods_name"]); ?></p>            
                            <p>￥<?php echo ($n["shop_price"]); ?></p>        
                            </div>    
                            </div>
                        </a>
                    </li>
                    <?php }?>
                    </ul>
                </div>
            </div>
            
            <!-- 女装专区 -->
            <div class="productDisplay js_specialContBox">
                <!-- // -->
                <div class="clearfix consumerSeriesBox specialSeriesBox marginBottom20">
                    <div class="fl consumerSeriesTil">
                        <h2 style="border-color:#c22849;">女装</h2>
                    </div>
                    <div class="fr consumerSeriesMore"><a href="<?php echo U('home/dingzhi/index',array('fz'=>6));?>">查看更多&gt;</a></div>
                </div>
                <div class="displayDownList">
                    <ul class="clearfix">
                    <?php foreach ($woman as $n) { ?>
                    <li>
                        <a href="<?php echo U('home/good/index',array('id'=>$n['goods_id']));?>">    
                            <div><img src="/smfs<?php echo ($n["thumb_img"]); ?>" width="285" height="400" alt=""></div>    
                            <div class="downListBg">        
                            <div class="downListWhiteBg">            
                            <p class="paddingTop110"><?php echo ($n["goods_name"]); ?></p>            
                            <p>￥<?php echo ($n["shop_price"]); ?></p>        
                            </div>    
                            </div>
                        </a>
                    </li>
                    <?php }?>
                    </ul>
                </div>
            </div>

            <div class="marginBottom30">
                <div class="textAlignCenter">
                    <div class="positionDiyTitle  indextTitleColor">没有合适的？没关系</div>
                    <div class="positionDiyNoBack marginBottom10 fontSize">我们这里还有定制途径，直到您满意为止</div>
                </div>
                <div class="customLoadBox">
                    <div class="customLoad_T js_customLoad_T">
                        <ul class="clearfix">
                            <li class="current">预约量体</li>
                        </ul>
                    </div>
                    <div class="customLoad_D js_customLoad_D">
                        <!-- 预约量体 -->
                        <div class="customLoadCont js_customLoadCont ">
                            <!-- 上分区 -->
                            <div class="LoadContUp js_LoadContUp">
                                <div class="textAlignCenter marginBottom40 colorBoxCont">
                                    <div class="font18">
                                        <span class="marginRight90 color1">款式较少，不够选？</span>
                                        <span class="color2">量体麻烦，每次都要量体？</span>
                                    </div>
                                    <p class="font30 marginTop20 marginBottom20">想定制</p>
                                    <div class="font18">
                                        <span class="marginRight40 color3">工作太忙，没时间去店里？</span>
                                        <span class="color4">无需重复量体，无需到店下单。</span>
                                    </div>
                                </div>
                                <!-- <p class="marginBottom20 font14">预约量体，即可开启线上无忧下单，无需重复量体，无需到店下单。</p> -->
                                <p class="marginBottom20 font14">只需以下几步：</p>
                                <div class="marginBottom20">
                                    <img src="/smfs/Public/home/images/loadIco.png" alt="" />
                                </div>
                                <div class="textAlignCenter">
                                    <a href="javascript:;" class="scheduleBtn js_scheduleBtn">约一约</a>
                                </div>
                            </div>
                            <!-- 下分区 -->
                            
                            <div  class="LoadContDown js_LoadContDown  "  style="display:none">
                                <form class="layui-form" method="post">
                                    <table cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="125" align="right"><span class="colorRed">*</span>姓名：</td>
                                            <td width="427">
                                                <input type="text" name="name" required  lay-verify="required" placeholder="请输入姓名" style="margin-bottom: 10px;">
                                            </td>
                                            <td width="125" align="right"><span class="colorRed">*</span> 预算：</td>
                                            <td width="423">
                                                <input type="text" name="budget" required  lay-verify="required" placeholder="请输入预算" style="margin-bottom: 5px;">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="125"  align="right"><span class="colorRed">*</span> 联系手机：</td>
                                            <td width="300">
                                                <input type="text" name="phone" required  lay-verify="required" placeholder="请输入手机" style="margin-bottom: 10px;">
                                            </td>
                                            <td width="125"  align="right"><span class="colorRed">*</span> 数量：</td>
                                            <td width="300">
                                                <input type="text" name="num" required  lay-verify="required" placeholder="请输入数量" style="margin-bottom: 5px;">
                                        </tr>
                                        <tr>
                                            <td width="125" align="right"><span class="colorRed">*</span> 详细地址：</td>
                                            <td width="300">
                                                <input type="text" name="addr" required  lay-verify="required" placeholder="请输入详细地址" style="margin-bottom: 10px;"></td>
                                            <td width="125" align="right"><span class="colorRed">*</span> 联系QQ：</td>
                                            <td width="300">
                                                <input type="text" name="qq" required  lay-verify="required" placeholder="请输入联系人QQ" style="margin-bottom: 5px;">
                                            </td>
                                        </tr>
                                    </table>
                                    <table cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="125" align="right">需求描述：</td>
                                            <td width="905">
                                                <textarea class="layui-textarea" name="content" id="LAY_demo1"></textarea>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td height="80" colspan="2" align="center">
                                                <button lay-submit lay-filter="*" style="background-color: #eba524;display: block;width: 100px;height: 40px;border:0px;color:#fff;border-radius: 5px;">提交需求</button>
                                                <span class="scheduleBtn cancelSchedule js_cancelSchedule" style="position: absolute;right: 450px;bottom: 70px;">取 消</span>
                                            </td>
                                        </tr>
                                    </table>
                                </form>
                            </div>

                        </div>

                    </div>
                    
                </div>
            </div>
        </div>
    </div>
    	
    
    <div class="container">
        <div class="explainBox marginBottom20">
            <ul class="clearfix">
                <li><img src="/smfs/Public/home/images/explainIcon1.png" alt="" />消费有保障</li>
                <li><img src="/smfs/Public/home/images/explainIcon2.png" alt="" />七天免费修改</li>
                <li><img src="/smfs/Public/home/images/explainIcon3.png" alt="" />全国包邮</li>
                <li><img src="/smfs/Public/home/images/explainIcon4.png" alt="" />支持线上支付</li>
            </ul>
        </div>
    </div>

<!-- 尾部 -->
    <div style="width:100%;background:#333333;border-top:1px solid #fa7d03;">
        <div class="footerBox" style="width:1280px;margin:0 auto;">
            <div class="container">
                <div class="footerCont_L fl">
                    <p class="marginBottom20">
                        <a href="../../html/foot/foot_contact.html">关于我们</a>|                       
                        <a href="../../html/foot/foot_payment.html">支付方式</a>|
                        <a href="../../html/foot/foot_afterService.html">消费者保障</a>|
                        <a href="../../html/foot/foot_customerService.html">客服中心</a>| 
                        <a href="../../html/foot/foot_customerService.html#tousu">意见反馈</a>|  
                        <a href="">法律声明</a>
                    </p>          
                    <p class="marginBottom20">深圳市博克时代科技开发有限公司©版权所有</p>
                    <p class="marginBottom20">粤ICP备10218621号-7</p>
                        
                </div>
                <div class="fr footerCont_R">
                    <span class="codeTxt">新会员扫描二维码关注公众号即可领取500元服装定制券</span>
                    <span class="marginLeft10 marginRight10"><img src="/smfs/Public/home/images/codeArrow.png" height="10" width="9" alt="" /></span>
                    <span><img src="/smfs/Public/home/images/footercode.png" alt="" /></span>
                </div>
            </div>
            <div class="footerBorder marginTop20"></div>
            <div class="container paddingTop20 foonterLink">
                友情链接： 
                <a href="http://www.yunyidzw.com">衣云网</a>
                <a href="javascript:;">博克科技 </a>   
                <a href="javascript:;">中国男装网 </a>   
                <a href="javascript:;">衣云网</a>    
                <a href="javascript:;">博克科技 </a>   
                <a href="javascript:;">中国男装网</a>    
                <a href="javascript:;">衣云网 </a>   
                <a href="javascript:;">博克科技 </a>   
                <a href="javascript:;">中国男装 </a>   
                <a href="javascript:;">中国男装</a>
            </div>
        </div>
    </div>
    <!-- <div class="rightNaviWrap moveOn" id="rightNaviWrap">
        <a href="javascript:void(0)" title="在线客服" id="serviceIcon"
            onMouseOver="showObject('serviceWrap')"
            onMouseOut="hiddenObject('serviceWrap')">在线客服</a> 
        <a href="javascript:void(0)" title="关注我们" id="careIcon"
            onMouseOver="showObject('careWrap')"
            onMouseOut="hiddenObject('careWrap')">关注我们</a> 
            <a
            href="#" onclick="javascript:scroll(0,0)"
            title="返回顶部" id="topIcon" class="topIconNo">返回顶部</a>
    </div>
    <div class="serviceWrap" id="serviceWrap"
        onMouseOver="showObject('serviceWrap')"
        onMouseOut="hiddenObject('serviceWrap')" style="top:170px">
        <dl>
            <dt>纸样中心：</dt>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=1617845752&site=qq&menu=yes">金小姐</a>
            </dd>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=2500893349&site=qq&menu=yes">郑先生</a>
            </dd>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=1426180592&site=qq&menu=yes">张先生</a>
            </dd>
        </dl>
        <dl>
            <dt>售后服务：</dt>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=3027849076&site=qq&menu=yes">售后专员1</a>
            </dd>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=1720974028&site=qq&menu=yes">售后专员2</a>
            </dd>
        </dl>
        <dl>
            <dt>定制咨询：</dt>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=3027849076&site=qq&menu=yes">服装顾问1</a>
            </dd>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=1720974028&site=qq&menu=yes">服装顾问2</a>
            </dd>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=3027849076&site=qq&menu=yes">服装顾问3</a>
            </dd>
        </dl>
        <dl>
            <dt>加盟/入驻：</dt>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=3038085578&site=qq&menu=yes">招商专员1</a>
            </dd>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=3274688461&site=qq&menu=yes">招商专员2</a>
            </dd>
            <dd>
                <a href="http://wpa.qq.com/msgrd?v=3&uin=3135505911&site=qq&menu=yes">招商专员3</a>
            </dd>
        </dl>
        <ul>
            <li><strong>客服热线：</strong></li>
            <li class="colorYellow font14 fontBold">4007-006-186</li>
        </ul>
        <ul>
            <li><strong>服务时间：</strong></li>
            <li class="colorYellow">8：30—17：30</li>
        </ul>
    </div>
    <div class="careWrap" id="careWrap" onMouseOver="showObject('careWrap')"
        onMouseOut="hiddenObject('careWrap')">
        <img src="/smfs/Public/home/images/rightcode.png">
    </div> -->

<script type="text/javascript">
rightNaviWrap();
</script>
        
<script type="text/javascript">
    layui.use(['form','layedit'], function(){
      var layer = layui.layer
      ,layedit = layui.layedit
      ,form = layui.form();
      //layer.msg('Hello World');

  //创建一个编辑器
  var editIndex = layedit.build('LAY_demo1', {height: 200,
                tool: ['strong','italic','underline','del','left', 'center', 'right', '|', 'face','link']
                });

    form.on('submit(*)', function(data){

        data.field.content = layedit.getContent(editIndex);

        $.ajax({
            url: "<?php echo U('home/xuqiu/xuqiu_add');?>",//请求地址
            type: "post",//请求方式
            dataType: "json",//返回数据类型
            data: data.field,//发送的参数
            })
            .done(function(response) {
                  if(response.error==0){
                     layer.msg(response.info ,{icon:5});
                  }else{
                     layer.msg(response.info ,{icon:6});
                     location.reload();
                  }
              })
            .fail(function() {
                alert("ajxs交互失败");
            })  

          return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
        });  
    });
</script>

</body>
</html>